package com.ruoyi.web.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 *
 */
@Data
public class UserCapitalVO {

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 余额
     */
    @Excel(name = "余额")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal balance;

    /**
     * 币种
     */
    @Excel(name = "币种")
    private String currency;

    /**
     * VIP押金
     */
    @Excel(name = "VIP押金")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal vipDeposit;

}
